package com.woniu.servicesse.service;

import com.woniu.servicesse.request.PushRequest;
import org.springframework.web.servlet.mvc.method.annotation.SseEmitter;

public interface SseService {
    SseEmitter connect(String userId, Integer identity);

    String push(PushRequest pushRequest);

    String close(Long userId, String identity);
}
